﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPages/Site.master" AutoEventWireup="true"
    CodeFile="SEC02_1S.aspx.cs" Inherits="IFRS_SEC02_1S" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div class="container-custom">
        <div class="table_master">
            <fieldset class="fsStandard" style="padding-bottom: 5px;">
                <div align="center" class="table_detail">
                    <div class="rowinfo">
                        <div class="collabel_single">
                            <asp:Label ID="lblROLE_GROUP_NAME" runat="server" Text="<%$Resources:ifrsField,ROLE_GROUP_NAME%>" />&nbsp;:&nbsp;
                        </div>
                        <div class="colinfo_single">
                            <asp:TextBox ID="txtROLE_GROUP_NAME" SkinID="L_ReadOnlyBox" runat="server"></asp:TextBox>
                        </div>
                    </div>
                    <div>
                        <div class="collabel_single">
                            <asp:Label ID="lblJOB" runat="server" Text="<%$Resources:ifrsField,JOB%>" />&nbsp;:&nbsp;
                        </div>
                        <div class="colinfo_single">
                            <asp:CheckBox ID="cbJOB" Enabled="false" runat="server" />
                        </div>
                    </div>
                    <div>
                        <div class="collabel_single">
                            <asp:Label ID="lblSTATUS" runat="server" Text="<%$Resources:ifrsField,STATUS%>" />&nbsp;:&nbsp;
                        </div>
                        <div class="colinfo_single">
                            <asp:RadioButton ID="rbSTATUS_1" Enabled="false" Text="<%$Resources:ifrsField,WORK%>"
                                runat="server" GroupName="status" />
                            <asp:RadioButton ID="rbSTATUS_2" Enabled="false" Text="<%$Resources:ifrsField,NOT_WORK%>"
                                runat="server" GroupName="status" />
                        </div>
                    </div>
                </div>
            </fieldset>
            <div>
                <div class="colbtnAdd">
                    <p>
                        <asp:Button ID="btnSAVE" runat="server" SkinID="NormalButton" Text="<%$Resources:ifrsButton,SAVE%>"
                            OnClick="btnSAVE_Click" />&nbsp;
                        <asp:Button ID="btnCANCEL" runat="server" SkinID="NormalButton" Text="<%$Resources:ifrsButton,CANCEL%>"
                            OnClick="btnCANCEL_Click" />
                    </p>
                    <br />
                    <div class="content_grid">
                        <asp:GridView ID="gvSearch" runat="server" AllowSorting="true" CssClass="CSSTableGenerator"
                            AutoGenerateColumns="false" AllowPaging="false" OnRowDataBound="gvSearch_RowDataBound">
                            <Columns>
                                <asp:TemplateField ItemStyle-HorizontalAlign="Center">
                                    <HeaderTemplate>
                                        <asp:Label ID="lblgvUse" runat="server" Text="Use" />
                                    </HeaderTemplate>
                                    <ItemTemplate>
                                        <asp:CheckBox ID="cbgvGroup" runat="server" AutoPostBack="true" OnCheckedChanged="cbgvGroup_CheckedChanged" />
                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:BoundField DataField="RoleGroupMenuID" Visible="false" />
                                <asp:BoundField DataField="MenuItemID" Visible="false" />
                                <asp:BoundField DataField="IsUsed" Visible="false" />
                                <asp:BoundField DataField="IsView" Visible="false" />
                                <asp:BoundField DataField="IsAdd" Visible="false" />
                                <asp:BoundField DataField="IsEdit" Visible="false" />
                                <asp:BoundField DataField="IsDelete" Visible="false" />
                                <asp:BoundField DataField="IsPrint" Visible="false" />
                                <asp:TemplateField ItemStyle-HorizontalAlign="Center" HeaderText="<%$Resources:ifrsField,MenuSubCategoryName%>">
                                    <ItemTemplate>
                                        <asp:Label ID="lblgvMenuSubCategoryName" runat="server" Text='<%# Eval("MenuSubCategoryName") %>' />
                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:TemplateField ItemStyle-HorizontalAlign="Left" HeaderText="<%$Resources:ifrsField,MenuItemName%>">
                                    <ItemTemplate>
                                        <asp:Label ID="lblgvMenuItemName" runat="server" Text='<%# Eval("MenuItemName") %>' />
                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:TemplateField HeaderText="View" ItemStyle-HorizontalAlign="Center">
                                    <ItemTemplate>
                                        <asp:CheckBox ID="cbgvView" runat="server" />
                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:TemplateField HeaderText="Add" ItemStyle-HorizontalAlign="Center">
                                    <ItemTemplate>
                                        <asp:CheckBox ID="cbgvAdd" runat="server" />
                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:TemplateField HeaderText="Edit" ItemStyle-HorizontalAlign="Center">
                                    <ItemTemplate>
                                        <asp:CheckBox ID="cbgvEdit" runat="server" />
                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:TemplateField HeaderText="Delete" ItemStyle-HorizontalAlign="Center">
                                    <ItemTemplate>
                                        <asp:CheckBox ID="cbgvDelete" runat="server" />
                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:TemplateField HeaderText="Print" ItemStyle-HorizontalAlign="Center">
                                    <ItemTemplate>
                                        <asp:CheckBox ID="cbgvPrint" runat="server" />
                                    </ItemTemplate>
                                </asp:TemplateField>
                            </Columns>
                        </asp:GridView>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <asp:HiddenField ID="hidRoleGroupID" runat="server" />
</asp:Content>
